package com.bdqn.Sj02.service;

import com.bdqn.Sj02.dao.TraineeDao;
import com.bdqn.Sj02.pojo.Trainee;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service("traineeService")
public class TraineeServiceImpl implements TraineeDao {
    @Resource
    private TraineeDao dao;
    @Override
    public void save() {
        getDao().save();
    }


    public TraineeDao getDao() {
        return dao;
    }

    public void setDao(TraineeDao dao) {
        this.dao = dao;
    }
}
